<template>
   <!-- 加载图标样式13 -->
   <div class="loading">
      <div></div>
      <div></div>
      <div></div>
   </div>
</template>

<script setup>

</script>

<style scoped lang='scss'>
.loading {
   color: #000;
   display: block;
   font-size: 0;
   height: 48px;
   position: relative;
   width: 48px
}

.loading.la-dark {
   color: #333
}

.loading>div {
   border-radius: 100%;
   box-sizing: border-box;
   display: inline-block;
   float: none;
   height: 14px;
   left: 0;
   position: absolute;
   top: 0;
   width: 14px
}

.loading>div:first-child {
   animation: ball-triangle-path-ball-one 2s ease-in-out 0s infinite;
   background-color: #1678ff
}

.loading>div:nth-child(2) {
   animation: ball-triangle-path-ball-two 2s ease-in-out 0s infinite;
   background-color: #ffaa09
}

.loading>div:nth-child(3) {
   animation: ball-triangle-path-ball-tree 2s ease-in-out 0s infinite;
   background-color: #04be02
}

.loading.la-sm {
   height: 16px;
   width: 16px
}

.loading.la-sm>div {
   height: 4px;
   width: 4px
}

.loading.la-2x {
   height: 64px;
   width: 64px
}

.loading.la-2x>div {
   height: 20px;
   width: 20px
}

.loading.la-3x {
   height: 96px;
   width: 96px
}

.loading.la-3x>div {
   height: 30px;
   width: 30px
}

@keyframes ball-triangle-path-ball-one {
   0% {
      transform: translateY(220%)
   }

   17% {
      opacity: .25
   }

   33% {
      opacity: 1;
      transform: translate(110%)
   }

   50% {
      opacity: .25
   }

   66% {
      opacity: 1;
      transform: translate(220%, 220%)
   }

   83% {
      opacity: .25
   }

   to {
      opacity: 1;
      transform: translateY(220%)
   }
}

@keyframes ball-triangle-path-ball-two {
   0% {
      transform: translate(110%)
   }

   17% {
      opacity: .25
   }

   33% {
      opacity: 1;
      transform: translate(220%, 220%)
   }

   50% {
      opacity: .25
   }

   66% {
      opacity: 1;
      transform: translateY(220%)
   }

   83% {
      opacity: .25
   }

   to {
      opacity: 1;
      transform: translate(110%)
   }
}

@keyframes ball-triangle-path-ball-tree {
   0% {
      transform: translate(220%, 220%)
   }

   17% {
      opacity: .25
   }

   33% {
      opacity: 1;
      transform: translateY(220%)
   }

   50% {
      opacity: .25
   }

   66% {
      opacity: 1;
      transform: translate(110%)
   }

   83% {
      opacity: .25
   }

   to {
      opacity: 1;
      transform: translate(220%, 220%)
   }
}
</style>
